package com.example.helloserviceapi.service;

import com.example.helloserviceapi.model.User;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

//@RequestMapping("/refactor")
public interface HelloService {

    @RequestMapping("/hello2")
    String hello2();


    @RequestMapping("/hello3")
    public User pringUser(@RequestBody User user);

    @RequestMapping("/hello4")
    public String sout(@RequestBody String string);
}
